package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 品牌包材定义
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_PACK_STYLE_TYPE_MTL")
@ApiModel(value="PcPackStyleTypeMtl", description="品材料明细")
public class PcPackStyleTypeMtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID",name = "companyId")
    private String companyId;

    @ApiModelProperty(value = "SHIPMENT_ID",name = "shipmentId")
    private String shipmentId;

    @ApiModelProperty(value = "SHIPMENT_NAME",name = "shipmentName")
    private String shipmentName;

    @ApiModelProperty(value = "品牌",name = "style")
    private String style;

    @ApiModelProperty(value = "序号",name = "seqNo")
    private Integer seqNo;

    @ApiModelProperty(value = "包材类别",name = "typeName")
    private String typeName;

    @ApiModelProperty(value = "物料编码",name = "mtlNo")
    private String mtlNo;

    @ApiModelProperty(value = "物料颜色",name = "mtlColor")
    private String mtlColor;

    @ApiModelProperty(value = "物料名称",name = "mtlName")
    private String mtlName;

    @ApiModelProperty(value = "物料规格",name = "mtlSpec")
    private String mtlSpec;

    @ApiModelProperty(value = "单位",name = "mtlUnit")
    private String mtlUnit;

    @ApiModelProperty(value = "装箱方式",name = "packType")
    private String packType;

    @ApiModelProperty(value = "号码起",name = "size1")
    private String size1;

    @ApiModelProperty(value = "号码止",name = "size2")
    private String size2;

    @ApiModelProperty(value = "用量（比）",name = "usage")
    private int usage;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "创建时间",name = "sysDate")
    private Date sysDate;

    @ApiModelProperty(value = "创建人",name = "sysUser")
    private String sysUser;

    @ApiModelProperty(value = "按号码分段计算",name = "sizeFlag")
    private String sizeFlag;

    @ApiModelProperty(value = "MID_SIZE1",name = "midSize1")
    private String midSize1;

    @ApiModelProperty(value = "MID_SIZE2",name = "midSize2")
    private String midSize2;

}
